var express = require("express")
var router = express.Router()

const userController = require("../controllers/user")

/* GET users listing. */
router.get("/", function (req, res, next) {
  res.send("respond with a resource")
})

router.get("/getUserInfo", userController.getUserInfo)
router.post("/insrtUserInfo", userController.insrtUserInfo)

module.exports = router
